package com.title3;


import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

/**
 * @Author milian
 * @Date 2021/8/10 0010 20:24
 */
public class title3 {
    public static void main(String[] args) throws IOException {
        ClassLoader systemClassLoader = ClassLoader.getSystemClassLoader();
        InputStream resourceAsStream = systemClassLoader.getResourceAsStream("test.properties");
        Properties properties = new Properties();
        properties.load(resourceAsStream);
        System.out.println(properties);
    }
}
